package cn.neusoft.enums;

public enum OrderStatus
{
    FAILED("0", "缺货"),
    ASSIGNABLE("1", "可分配"),
    SCHEDULED("2", "已调度"),
    ASSIGNED("3","已分配"),
    UNSUBSCRIBE("4", "退订"),
    PICKED_UP("5", "已领货"),
    FINISHED("6", "已完成");


    private final String code;
    private final String message;

    OrderStatus(String code, String message)
    {
        this.code = code;
        this.message = message;
    }

    public String getCode()
    {
        return code;
    }

    public String getMessage()
    {
        return message;
    }
}
